package com.zhuwhao.sample.entity;

import com.zhuwhao.sample.utils.Cn2Spell;

/**
 * Created by Juno on 2017/1/17 0017.
 * Contacts
 */
public class Contacts {

    private String index;

    private String name;

    public Contacts(String name) {
        this.index = Cn2Spell.getPinYinFirstLetter(name).toUpperCase();
        this.name = name;
    }

    public String getIndex() {
        return index;
    }

    public String getName() {
        return name;
    }
}
